package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

public class CmsArchivesTagDto {

    @Data
    @ApiModel("CmsArchivesTagDto - Add")
    public static class Add{
        @ApiModelProperty("ID")
        private Long id;
        @ApiModelProperty("菜单名称")
        @NotNull(message = "菜单名称不能为空")
        private String name;
        @NotNull(message = "档案类型不能为空")
        @ApiModelProperty("档案类型(0:筛查； 1:急救； 2:治疗； 3:康复)")
        private Byte type;
        @ApiModelProperty("排序")
        @NotNull(message = "排序不能为空")
        private Integer sort;
        @ApiModelProperty("CODE")
        private List<String> codeList;
    }

    @Data
    @ApiModel("CmsArchivesTagDto - Query")
    public static class Query {
        @ApiModelProperty("菜单名称")
        private String name;
        @ApiModelProperty("档案类型(0:筛查； 1:急救； 2:治疗； 3:康复)")
        private Byte type;
    }

    @Data
    @ApiModel("CmsArchivesTagDto - Delete")
    public static class Delete {
        private List<Long> idList;
    }
}
